package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockStorage;
import com.zshan.clinic.database.model.StockStorageExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockStorageMapper extends SuperMapper {
    long countByExample(StockStorageExample example);

    int deleteByExample(StockStorageExample example);

    int deleteByPrimaryKey(Long storageId);

    int insert(StockStorage row);

    int insertSelective(StockStorage row);

    List<StockStorage> selectByExample(StockStorageExample example);

    StockStorage selectByPrimaryKey(Long storageId);

    int updateByExampleSelective(@Param("row") StockStorage row, @Param("example") StockStorageExample example);

    int updateByExample(@Param("row") StockStorage row, @Param("example") StockStorageExample example);

    int updateByPrimaryKeySelective(StockStorage row);

    int updateByPrimaryKey(StockStorage row);
}